/**
 * 
 */
package com.gxa.ehome.service;


import com.gxa.ehome.entity.UserBase;

import java.util.List;

/**
 * User的业务层操作
 * @author bilei
 * @date 2021年3月31日
 */
public interface UserServiceBase {
	
	UserBase register(UserBase user) throws Exception;
	
	UserBase login(String name, String pwd) throws Exception;
	List<UserBase> selectAlluser() throws Exception;
	List<UserBase> selectAllByPage(Integer page, Integer size) throws Exception;
	Integer deleteById(Integer id) throws Exception;
/**List<User> selectAll();*/
	void update(Integer id, UserBase user) throws Exception;
}
